//
//  TestData.swift
//  Example
//
//  Created by Diego Ernst on 5/26/17.
//
//

import MetalBender

struct TestData {

    static let textures: [Texture] = {
        var textures = [Texture]()

        textures.append(Texture(
            data: [
                [1.0, 2.0, 3.0, 4.0, 5.0, 6, 7, 8], [9.0, 10.0, 11.0, 12.0, 13.0, 14, 15, 16],
                [17.0, 18, 19, 20, 21, 22, 23, 24], [25, 26, 27, 28, 29, 30, 31, 32],
                [33, 34, 35, 36, 37, 38, 39, 40], [41, 42, 43, 44, 45, 46, 47, 48]
            ],
            size: LayerSize(h: 3, w: 2, f: 8)
        ))

        textures.append(Texture(
            data: [
                [1.0, 2.0, 3.0, 4.0, 5.0, 6], [9.0, 10.0, 11.0, 12.0, 13.0, 14],
                [17.0, 18, 19, 20, 21, 22], [25, 26, 27, 28, 29, 30],
                [33, 34, 35, 36, 37, 38], [41, 42, 43, 44, 45, 46]
            ],
            size: LayerSize(h: 3, w: 2, f: 6)
        ))

        textures.append(Texture(
            data: [
                [1.0, 2.0, 3.0, 4.0], [9.0, 10.0, 11.0, 12.0],
                [17.0, 18, 19, 20], [25, 26, 27, 28],
                [33, 34, 35, 36], [41, 42, 43, 44]
            ],
            size: LayerSize(h: 3, w: 2, f: 4)
        ))

        textures.append(Texture(
            data: [
                [1.0, 2.0, 3.0], [9.0, 10.0, 11.0],
                [17.0, 18, 19], [25, 26, 27],
                [33, 34, 35], [41, 42, 43]
            ],
            size: LayerSize(h: 3, w: 2, f: 3)
        ))

        textures.append(Texture(
            data: [
                [1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0], [1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0],
                [1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0], [1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0],
                [1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0], [1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0]
            ],
            size: LayerSize(h: 3, w: 2, f: 9)
        ))

        return textures
    }()

}
